package com.guan.ordering_sys.generator.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guan.ordering_sys.common.PageResult;
import com.guan.ordering_sys.generator.entity.Post;
import com.guan.ordering_sys.param.PageParam;
import com.guan.ordering_sys.param.PostParam;
import com.guan.ordering_sys.vo.PostVo;

/**
 * <p>
 *  PostService 服务类
 * </p>
 *
 * @author 关远键
 * @version 1.0.3
 * @since 2021-06-18
 */
public interface PostService extends IService<Post> {

    PageResult getList(PageParam pageParam);

    PostVo getById(Integer id);

    Post selectById(Integer id);

    Integer add(PostParam addParam);

    int deleteById(Integer id);

    int updateById(Integer id, PostParam param);

}
